Hi Jeroen,
You can try this :
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=left]
Sorry if I send owls to Athens !
JP
Le 19/03/2024 à 15:38, Jeroen a écrit :
For comments that are placed in the margin
:
\setupmargindata[inmargin][style={\tf}]
It does for me but but unless you want a certain style it is better to
use a empty argument for the style key.
\starttext
\inmargin{Bold?}\samplefile{lorem}
\setupmargindata[inmargin][style=]
\inmargin{Bold?}\samplefile{lorem}
\stoptext
Wolfgang
This one unbolds the margin text:
\setupmargindata[inouter][style=\tf]
This one works well, it unbolds and reduces the size of the margin text:
\setupmargindata
[inouter]
[style={\switchtobodyfont[8pt]}]
This one does not seem to make a change:
\setupmargindata[inmargin][style={\tf
?
Try \setupmargindata[inmargin][style={\tf}]
I don’t know why the default is bold.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
% Use Theano Didot as Ancient Greek font
\definefallbackfamily[mainface][serif
]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][rm][Theano
Didot
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
|<>|
##. SECTION TITLE paragraph
...
.
|<-->|
margin
```
I wanted paragraph to begin on the same line the section title lies.
\define[1]\SectionNumberCommand
{\margindata[inmargin]
SECTION TITLE paragraph
> ...
> .
>
> |<-->|
> margin
> ```
> I wanted paragraph to begin on the same line the section title lies.
Hi Ali,
from what I understand, you need both alternati
;"
I just wanted to know if there already an option defined to achieve the desired
result.
\setuphead [subsection] [alternative=margin]
%\setuphead [subsection] [alternative=inmargin]
%\setuphead [subsection] [alt
> context('Color chosen = ' .. named_values['color'])
> context('\\par')
> context('Curly braces = ' .. str)
> context('\\par')
> end
> \stopluacode
>
> \def\mycommand[#1][#2]#3{\ctxlua{
> userdata.mycommand('#1', '#2', [==[#3]==])}}
>
> \startt
][#2]#3{\ctxlua{
userdata.mycommand('#1', '#2', [==[#3]==])}}
\starttext
\mycommand[top, inmargin, now][color=green, roof=gabled]{Anne of Green Gables?}
\stoptext
—
Bruce Horrocks
Hampshire, UK
___
If your question
]
%%%
%%% NUMERACIÓN DE PÁGINAS, SETUP %
%%%
\setuppagenumbering[alternative=doublesided,location={footer,inmargin}]
\setupuserpagenumber[way=byblock]
\starttext
\startsectionblock[portada
t; doesn’t help.
The "author" setting is shown, but as soon as I click on the comment, it
changes to my user name. (Might depend on the viewer, but I get the same
behavior from Adobe and Apple.) "title" and "subtitle" settings are
handled differently by viewers, t
the hood, I think there’s just a
“reference” key missing in \attachment or \setupattachment:
\setupinteraction[state=start]
\starttext
\samplefile{lorem}
\attachment[
file={hacker.jpg},
title={Hacker},
symbol=Paperclip,
author=Hans,
location=inmargin,
reference=foobar,
]
As you can see
ion[state=start]
\startxmlsetups xml:text
\xmlsetsetup{\xmldocument}
{pre}
{xml:copy:html}
\stopxmlsetups
\xmlregistersetup{xml:text}
\startxmlsetups xml:copy:html
\xmltobuffer{#1}{.}{text}
\comment[location=inmargin,buffer=text]{}
\stopxmlsetups
\setuppapersize[A9
}
\startxmlsetups xml:copy:html
\xmltobuffer{#1}{.}{text}
\comment[location=inmargin,buffer=text]{}
\attachment[method=hidden, name=attach.xml, buffer=text]
\null
\stopxmlsetups
If I save the XML file with Windows EOL chars (CR LF), I get extra blank
lines in the PDF annotation
{{\bf #1}\inmargin{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
doesn’t work as expected.
My modification
\define[5]\EDUITEM{ \inleft{\bf #1}
{{\it #2}\ (#3).\crlf
{\bf #4}, #5.\blank[small]}}
Then it seems to work
How can I allow margin text to break across the page breaks?
I have a document with many \inmargin code.
The problem I'm finding is that sometimes I have a lot of items in the margin.
I hope this margin details can break across the page and continue onto the next
page. The problem is instead
ions Richard and Mikael.
For the benefit of the list I went with the following quick'n'dirty™ approach
which will be good enough:
\def\index{\dosingleempty\debugIndex}
\def\debugIndex[#1]#2{%
\iffirstargument
\null% Ignore it for now
\else
\inmargin[color=blue,stack=yes,style=ssxx]{#2}%
\fi
}
,
text=,
width=,
before={\blank[nowhite]},
after={\blank[nowhite]},
indenting=no,
titledistance=1cm,
location=inmargin,
alternative=left,
headstyle=,
way=bychapter,
prefixsegments=chapter,
prefix=yes]
\starttext
\startchapter[title={Chapter
between stack=yes or no:
\usemodule[visual]
\useMPlibrary[dum]
\setupmargindata[inmargin][stack=yes]
\starttext
\dorecurse{20}{%
\fakewords{5}{30}
\inmargin{\externalfigure[dummy\recurselevel][width=15mm,height=15mm]}
\fakewords{5}{40}\par
}
\stoptext
Hraban
=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location=outer,align=flushouter]
just use \inouter or define a new margindata class (see typo-mar.mkxl
line 360 etc to see what is defined in what way)
\starttext
\chapter{Introduction}
\input{tufte}
\input{tufte}\inmargin
Hi all:
I send this minimal example:
\mainlanguage [es]
\definefontfamily [mainface] [serif] [Gentium]
\setupbodyfont[mainface]
\setuppagenumbering[alternative=doublesided, location={footer,right}]
\setuplayout[textwidth=12cm,margin=2.5cm]
\setupmargindata[inmargin][style={\tfx\em}, location
What am I missing?
>
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
> \stoptext
>
> ConTeXt version: 2021.11.13
>
> Regards
>
> Marcus Vinicius
> --
> Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
> corpo nem seus membros, por s
Hi,
Like Hraban said, inserts are generally tricky and they tend to disappear when
used inside
other elements like floating objects / boxes / tables. However, ConTeXt has an
easy way out
at least for your case:
\starttext
\startpostponingnotes
\inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2
> Am 16.11.2021 um 12:57 schrieb Marcus Vinicius Mesquita via ntg-context
> :
>
> Dear list,
>
> When running the MWE below, the first footnote does not appear.
> What am I missing?
>
> \starttext
> \inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
>
Dear list,
When running the MWE below, the first footnote does not appear.
What am I missing?
\starttext
\inmargin{Foo\footnote{Foo 1.}}Foo\footnote{Foo 2.}
\stoptext
ConTeXt version: 2021.11.13
Regards
Marcus Vinicius
--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
w that in tex 'all is possible' somehow
Yes, but I didn’t want to assume too much, and since inserts are tricky...
>
>> \starttext
>> \samplefile{tufte}\inmargin{margin note}
>> bla\footnote{footnote\inmargin{margin note from footnote}} bla
>> \stoptext
> \starttext
>
, but not in footnotes.
Actually, marginals in footnotes are never displayed. Maybe I shouldn’t expect
it to work, but I’d like to have this... Is it possible?
you should know by now that in tex 'all is possible' somehow
\starttext
\samplefile{tufte}\inmargin{margin note}
bla\footnote{footnote\inmargin
. Maybe I shouldn’t expect
it to work, but I’d like to have this... Is it possible?
\starttext
\samplefile{tufte}\inmargin{margin note}
bla\footnote{footnote\inmargin{margin note from footnote}} bla
\stoptext
Hraban
Thanks a lot Wolfgang for your help,
Am Mon, Sep 13, 2021 at 01:33:36PM +0200 schrieb Wolfgang Schuster via
ntg-context:
> Like this?
>
> \setuphead
> [chapter]
> [page=yes,
> alternative=inmargin,
> location=outer,
> align=outer]
>
> \setup
this?
\setuphead
[chapter]
[page=yes,
alternative=inmargin,
location=outer,
align=outer]
\setuppagenumbering
[alternative=doublesided]
\showframe
\starttext
\dorecurse{10}{\expanded{\chapter{Chapter
\convertnumber{word}{\recurselevel
\stoptext
Wolfgang
Here’s what I have now (result attached):
\define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont
#1
\defineenumeration[Übung][
text=Übung,
title=yes,
titleleft=,
titleright=,
titledistance=-1em,
titlestyle=\SectionFont,
%numberstyle=\SectionFont
quot; behaves as
you expect using LMTX.
Using MKIV with the current latest, there is no difference between
"location=inright" and "location=inmargin".
I don’t know whether this is intended or not.
I hope it might help,
the next version fixes it (t
rginwidth>\zeropoint
\page_layouts_right_margin_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth\zerocount
\fi
\ifdim\rightedgewidth>\zeropoint
\page_layouts_right_edge_element\c!lefttext\c!leftstyle\c!leftcolor\c!leftwidth
\fi}}
\protect
With this both inright and
LMTX.
Using MKIV with the current latest, there is no difference between
"location=inright" and "location=inmargin".
I don’t know whether this is intended or not.
I hope it might help,
Pablo
--
http://www.ousia.tk
Dear Hans,
The following file:
\setuplayout[location=doublesided]
\setuppagenumbering[location=inmargin,alternative=doublesided]
\starttext
\dorecurse{20}{\input knuth }
\stoptext
using:
> ConTeXt ver: 2021.04.21 11:39 LMTX fmt: 2021.7.11 int: english/english
the left page of the dou
n perfectly place text with \inmargin
> directly, just not with the numbercommand.
>
> MWE:
>
> \starttext
> \setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm]
>
> \showframe
> \showlayout
>
> \setupcaption[figure][location={rightmargin}]
> \startplacefigure[titl
Thanks Hraban,
That should be fine, I've tried to increase the margins as well, but not
sure that's the issue as I can perfectly place text with \inmargin
directly, just not with the numbercommand.
MWE:
\starttext
\setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm]
\showframe
\showlayout
rieb Adam Reviczky :
> >
> > % this makes the formulanumber disappear
> > % \setupformulas[location={rightmargin}]
>
> No, \setupformula’s location understands only left and right.
>
> Try something like:
>
> \define[1]\MyFormulaNumber{\inmargin{#1}}
>
> \setupformul
> Am 21.03.2021 um 19:40 schrieb Adam Reviczky :
>
> % this makes the formulanumber disappear
> % \setupformulas[location={rightmargin}]
No, \setupformula’s location understands only left and right.
Try something like:
\define[1]\MyFormulaNumber{\inmargin{#1}}
\
=on,rulethickness=1pt,width=fit]
\starttext
\inmargin[][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]{Me}
\startformula
a^n + b^n = c^n.
\stopformula
\blank[3*big]
\MyInMargin{You}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
a truly
marvelous proof ... but
this margin is too narrow
to contain it.}
\input{lorem}
\inmargin{\externalfigure[cow] [width=\marginwidth]}
% The above works.
% The following does not:
\input{lorem}
\inmargin{
\starttikzpicture
\draw[gray] (-2,0) grid (2,2
text{I have discovered a truly
> marvelous proof ... but
> this margin is too narrow
> to contain it.}
> \input{lorem}
> \inmargin{\externalfigure[cow] [width=\marginwidth]}
> % The above works.
> % The following does not:
> \input{lorem}
> \inmar
to contain it.}
\input{lorem}
\inmargin{\externalfigure[cow] [width=\marginwidth]}
% The above works.
% The following does not:
\input{lorem}
\inmargin{
\starttikzpicture
\draw[gray] (-2,0) grid (2,2) ;
\draw plot [domain=-2:2, samples=50, smooth] (\x,{\x * \x});
\stoptikzpicture
margintext{I have discovered a truly
> marvelous proof ... but
> this margin is too narrow
> to contain it.}
> \input{lorem}
> \inmargin{\externalfigure[cow] [width=\marginwidth]}
> % The above works.
> % The following does not:
> \input{lorem}
>
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setcharacterspacing[frenchpunctuation]
\setuplayout [backspace=40mm]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex
[frontpart]
\setupheader[state=stop]
\stopsectionblockenvironment
5. Style and position page numbers differently in the front and body
matter (e.g., centered only in the front matter).
Alignment only (style comes with the proper option ):
\setuppagenumbering[location={bottom
, centered only in the front matter).
Alignment only (style comes with the proper option ):
\setuppagenumbering[location={bottom, inmargin}]
\startsectionblockenvironment[frontpart]
\setuppagenumbering[location={bottom, centered}]
\stopsectionblockenvironment
> As my full d
=7cm,
width=middle,
margin=5cm,
margindistance=7mm]
%\def\ColWidth{57mm}
\setupmargindata[inmargin]
[location=right,
stack=continue,
align=flushright,
]
\setupmargindata[inouter]
[location=right,
stack=continue,
align
es one cannot avoid them).
>
> One essential bit is missing in the wiki example:
>
> \setupmargindata[inmargin][
> location=right,
> stack=continue, % !!
> align=flushright,
> ]
>
> The code I’m actually using for our German literature magazine “Kritische
>
to each other (indeed it is not
> a good habit to have long notes, but in some cases one cannot avoid them).
One essential bit is missing in the wiki example:
\setupmargindata[inmargin][
location=right,
stack=continue, % !!
align=flushright,
]
The code I’m actually using for our Ge
overlapping the main text in the other column.
I found a useful counter in page-pcl.mkiv: \c_page_col_current.
Here's a MWE:
\unprotect
\def\curCol{\c_page_col_current}
\protect
\def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}}
\def\TestText{\InfoInMargin{\bf
in the other column.
I found a useful counter in page-pcl.mkiv: \c_page_col_current.
Here's a MWE:
\unprotect
\def\curCol{\c_page_col_current}
\protect
\def\InfoInMargin#1{\doifelse{\the\curCol}{1}{\inmargin{#1}}{\inothermargin{#1}}}
\def\TestText{\InfoInMargin{\bf \the\curCol}\input ward
\InfoInMargin
rry, Wolfgang, I discovered after reporting the issue that inmargin
comments need to be in horizontal mode.
Many thanks for your help and sorry for the noise,
Pablo
--
http://www.ousia.tk
___
If your question is of interes
Use of
\typo_margins_data_yes doesn't match its definition l.9 \margindata{
text1}%
One has to use \margindata[]{test} to avoid the error.
\margindata expects the name of the instance (e.g [inmargin]) as first
argument which is missing in your example. This means
\inmargin{...}
is the s
to print chapter titles.
Thank you in advance for your help.
JP
See below the MWE :
% \showframe %\showgrid
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupbodyfontenvironment[default][em=italic
head [chapter][
style=\tfc\HeadFont,
page=yes,
separator=,
numbercolor=darkgray,
alternative=inmargin,
before=\directsetup{chapter:epigraph},
after={\resetshownsyno
-publications.pdf]
c\attachment[file=onandon.pdf, location=inmargin]
d\attachment[file=notnow.pdf, location=inmargin]
e\attachment[file=about.pdf, location=text]
f\attachment[file=i-context.pdf, location=text]
\stoptext
The default location seems to be "text"
,inmargin}]
\starttext
\startchapter[title={October 2000}]
Blah One
\stopchapter
\startchapter[title={November 2000}]
Blah Two
\stopchapter
\stoptext
This produces a PDF in TeXworks containing 4 pages:
* Page 1 with a header an 'October 2000' header and 'Blah One' content
* Page 2
Hi there,
I am a newbie, and have *seem* to have discovered that
\setuppagenumbering [alternative=doublesided] generates a blank page
between chapters.
\setupheadertexts[chapter]
\setuppagenumbering [alternative=doublesided,location={header,inmargin}]
\starttext
\startchapter[title={October
those two together, but it didn’t work
\setupmargindata[inmargin][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\setupmargindata[inouter][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\def\FNVOffset{0
the options that would allow me to move them up or down, according to the
Wiki (https://wiki.contextgarden.net/Command/inmargin), but they don't seem
to do anything, or I don't understand how to work with them. But if there
is actually a way to manually instruct \inmargin to move up or down
On 7/29/19 10:27 PM, Hans Hagen wrote:
> On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
> [...]
> b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}
Many thanks for your reply, Hans.
I didn’t know that placing margin data in notes was so complex.
Many thanks
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\footnote{\attachment[file=i-context.pdf]}
\stoptext
basically boils down to the difference between:
\showboxes
\starttext
\noindent
\inmargin{Example 1}
\startitemize
\item This is how enumeration works.
\stopitemize
\inmargin{Example 2}
\startitemize
\item This works correctly
\stopitemize
\stoptext
Note that the first example has an extra
\setupmargindata[inright][stack=continue]
might help, but the mechanism changed within the last few months: while it
previously worked automagically in most cases, I had to shift several margin
notes in my project using
\inmargin[voffset=...]{...}
Greetlings, Hraban
---
https://www.fiee.net
that?
>
> I have a workaround for that:
>
> \title{\xmltext{#1}{/pnr} \xmltext{#1}{/pname}}
>
> And in your preamble:
>
> \setupheadertexts[title][\date]
> \setuphead[title]
>[placehead=empty,
> before=,
> after=,
> page=,]
>
&
more than one docan, but I
> only get the „, “
>
> \startxmlsetups xml:psoutdoc
> %\inmargin{\xmltext{#1}{/docan} $\Leftarrow$} {\bf
> \xmltext{#1}{/docnr}}\xmlflush{#1}
> \inmargin{\xmlconcat{#1}{/docan}{, } $\Leftarrow$} {\bf
> \xmltext{#1}{/docnr}}\xmlflush{#1}
> \xmlsav
there may be more than one docan, but I
only get the „, “
\startxmlsetups xml:psoutdoc
%\inmargin{\xmltext{#1}{/docan} $\Leftarrow$} {\bf
\xmltext{#1}{/docnr}}\xmlflush{#1}
\inmargin{\xmlconcat{#1}{/docan}{, } $\Leftarrow$} {\bf
\xmltext{#1}{/docnr}}\xmlflush{#1}
\xmlsave{#1}{outfile.xml
, only one attachment is shown in each margin. It seems to be the
last one. I have just discovered it accidentally:
\setupinteraction[state=start]
\starttext
one\attachment[file=onandon, location=inmargin]
two (actually)\attachment[file=notnow, location=inmargin]%
\attachment[fi
e to create a new itemgroup environment/instance.
>
> \defineitemgroup [romanitemize]
> \setupitemgroup [romanitemize] [R,inmargin]
Many thanks for your help, Wolfgang.
This is exactly what I needed.
Pablo
--
http://www.ousia.tk
Pablo Rodriguez schrieb am 20.03.19 um 20:43:
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 20.03.19 um 20:03:
[...]
Is there a way to get only [option=inmargin] for the items that are
Roman-numbered?
\startitemize[I,inmargin]
Many thanks for your reply, Wolfgang
On 3/20/19 8:09 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 20.03.19 um 20:03:
>> [...]
>> Is there a way to get only [option=inmargin] for the items that are
>> Roman-numbered?
>
> \startitemize[I,inmargin]
Many thanks for your reply, Wolfgang.
I need
Pablo Rodriguez schrieb am 20.03.19 um 20:03:
Dear list,
I have the following sample:
\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize
\startitemize
\dorecurse{5}{\item item
Dear list,
I have the following sample:
\showframe
\setupitemize[each][option=inmargin]
\starttext
\startitemize[n]
\dorecurse{5}{\item item}
\stopitemize
\startitemize
\dorecurse{5}{\item item}
\stopitemize
\startitemize[I]
\dorecurse{5
With the current beta, stacking of margin notes doesn’t work any more.
(It was never perfect, but good enough.)
MWE:
\setuplayout[
backspace=60mm,
width=100mm,
margin=50mm,
]
\setupmargindata[inmargin][stack=yes,style=\tfx] % or stack=continue
\starttext
%\showlayout
\input tufte
Dear list,
I have the following sample:
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setuppapersize[A9, landscape]
\starttext
\footnote{attachment\attachment
[xml-mkiv.pdf]
[location=inmargin]}
\stoptext
Using latest beta
{change}{\inmargin{\tx #1}{\red
#2\par}}}
\def\ChangeD#1#2{\change{#1+#2}\doifmode{change}{\inmargin{\tx #1}{\red
#2\par}}}
\starttext
\ChangeV{V. 1.0}{Fertig!}
\input knuth
\ChangeD{2018-12-22}{Fertig!}
\ChangeD{2018-12-23}{Letzter Fehler beseitigt.}
\input knuth
\ChangeD{2018-12-23
On Sun, 30 Sep 2018 13:40:36 +1300
Henri Menke wrote:
> On 30/09/18 13:17, Alan Braslau wrote:
> > Silly question:
> >
> > How do I setup itemize so that there be no hanging indent and the symbol is
> > aligned with the left edge of the text, i.e. not in the margi
On 30/09/18 13:17, Alan Braslau wrote:
> Silly question:
>
> How do I setup itemize so that there be no hanging indent and the symbol is
> aligned with the left edge of the text, i.e. not in the margin? (margin or
> inmargin or width=-2em puts the symbol in the margin.)
Not
Silly question:
How do I setup itemize so that there be no hanging indent and the symbol is
aligned with the left edge of the text, i.e. not in the margin? (margin or
inmargin or width=-2em puts the symbol in the margin.)
Alan
,
location=inmargin,
alternative=left,
headstyle=,
way=bychapter,
prefixsegments=chapter,
prefix=yes]
\starttext
\startchapter
\startbuffer[question]
\beginquestion
\startquestion
Question text
\startitemize[a,packed][stopper=,right=)]
\item Answer 1
\item Answer 2
\item
Hans,
I have the following sample (sorry, but I’m afraid I don’t know how to
write a lopp here):
\setupinteraction[state=start]
\setupcomment[location=inmargin]
\showframe
\starttext
This is a sample comment.
\startcomment
Just a comment
\stopcomment
stion,
>> after={\blank[2*big]},
>> inbetween={\blank[nowhite]},
>> way=bychapter,
>> prefixsegments=chapter,
>> prefix=yes]
>>
>> \defineenumeration
>> [answer]
>> [counter=answer,
>> text
You can get of the warning by changing the alignment for the \margindata
entries.
\setupmarginframed
[inmargin]
[align={flushright,broad}]
\starttext
Overfull\inmargin{abc}
\stoptext
You can produce the same message with the following example.
\starttext
\vbox
{\hsize
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext
produces an underfull hbox
]},
way=bychapter,
prefixsegments=chapter,
prefix=yes]
\defineenumeration
[answer]
[counter=answer,
text=,
width=,
before={\blank[nowhite]},
after={\blank[nowhite]},
indenting=no,
titledistance=1cm,
location=inmargin
[answer]
[counter=answer,
text=,
width=,
before={\blank[nowhite]},
after={\blank[nowhite]},
indenting=no,
titledistance=1cm,
location=inmargin,
alternative=left,
headstyle=,
way=bychapter,
prefixsegments=chapter,
prefix=yes
On 7/26/2018 5:57 PM, Hans Hagen wrote:
I can even put \start/stopnarrower in before/after of \setupitemgroup.
Its width parameter doesn’t work (at least not together with inmargin).
rightmargin=3em
tufte
\MyFill{33}
\stopitem
\startitem
\input knuth
\MyFill{99}
\stopitem
\stopitemize
\stopnarrower
\stoptext
Thank you very much!
I can even put \start/stopnarrower in before/after of \setupitemgroup.
Its width parameter doesn’t work (at least not together with inmargin
\input tufte
> \MyFill{33}
> \stopitem
> \startitem
> \input knuth
> \MyFill{99}
> \stopitem
> \stopitemize
> \stopnarrower
>
> \stoptext
Thank you very much!
I can even put \start/stopnarrower in before/after of \setupitemgroup.
Its width paramete
Dear list,
I have the following sample:
\setupinteraction[state=start]
\setupcomment[location=inmargin, color=darkred]
\showframe
\startbuffer[abc]
\input zapf
\stopbuffer
\setuptype[option=tex]
\starttext
\comment[space=yes,buffer=abc]{}
\type{\comment
edlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\sta
edlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]
\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\sta
][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]
\placecontent
\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
number\directionsbidimode]%
\fi
\to \everybeforenoteinsert
There are three parts in context where attributes are disabled which
affects bidi:
1. Note inserts which affects \footnote.
2. Margin data which affects \inmargin etc.
3. The output routine which affects header and footer
insert
There are three parts in context where attributes are disabled which
affects bidi:
1. Note inserts which affects \footnote.
2. Margin data which affects \inmargin etc.
3. The output routine which affects header and footer lines.
2. a complete list of those typographical settings
1 - 100 of 614 matches
Mail list logo